package com.onepiece.shipelves.common.enums;

import com.onepiece.shipelves.common.constant.SysCode;
import com.onepiece.shipelves.common.exception.ShowUserException;

/**
 * 可给用户展示的异常枚举列表
 * @author guoyanjiang
 * @date 2019-08-06
 */
public enum  ShowUserExceptionEnum {

    JOB_DOING("正在处理中"),
    TRANS_HTTP_TIMEOUT("船长已收到您的请求，请耐心等待，不要重复提交操作"),

    ;

    public final ShowUserException ex;

    ShowUserExceptionEnum(String message) {
        this.ex = new ShowUserException(SysCode.BASE, message);
    }

}
